import request from '@/config/axios'

// 标签列表
export const labelPageApi = (params) => {
  return request.get({ url: '/label/page', params })
}

// 保存标签
export const labelSaveApi = (data) => {
  return request.post({ url: '/label/save', data })
}

// 删除标签
export const labelDeleteApi = (id) => {
  return request.post({ url: `/label/delete/${id}` })
}
